Main Page | Class Hierarchy | Class List | Class Members

BustaNetInternalMsg Class Reference

Base class for all internal network messages. More...

#include <BustaNetInternal.h>

Inheritance diagram for BustaNetInternalMsg:

MPCharSelectCursor MPCharSelected MPCharSelectMode MPConnectResponse MPEndGame MPNewPlayer MPPlayerDisconnect MPPlayerLost MPServerSettings MPSpecialSandwich MPStartGame List of all members.

Public Member Functions

int getType ()
 Returns the type of the message.
void setType (int newType)
 Sets the type of the message.

Detailed Description

Base class for all internal network messages.

This is the base class for all messages that are sent between the client and the game engine.


Member Function Documentation

int BustaNetInternalMsg::getType  ) 
 

Returns the type of the message.

The type of the internal message is returned. This type identifies messages from one another and allows the engine to determine the action to take with the message.

Returns:
The integer representation of a message type.

void BustaNetInternalMsg::setType int  newType  ) 
 

Sets the type of the message.

Sets the identification type of the message.

Parameters:
newType The new int type identifier for the message


Generated on Tue Aug 2 22:03:12 2005 for BustaSandwich Networking by  doxygen 1.4.2-20050421